package com.chris.easymallproduct.feign;


import com.chris.common.to.SkuFullReductionTo;
import com.chris.common.to.SpuBoundsTo;
import com.chris.common.utils.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "easy-mall-coupon")
public interface CouponFeignService {

    @PostMapping("/easymallcoupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundsTo spuBounds);

    @PostMapping("/easymallcoupon/skufullreduction/saveInfo")
    R saveSkuFullReduction(@RequestBody SkuFullReductionTo skuFullReductionTo);
}
